package cn.yunhe.spring.mybatis.model;

import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2016/11/29.
 */
@Component("goods")
public class Goods {
    private Integer id;//商品id
    private String goodsName;//商品名称
    private String Photo;//商品图片

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getPhoto() {
        return Photo;
    }

    public void setPhoto(String photo) {
        Photo = photo;
    }
}
